import React from 'react'
import { Button } from 'antd'
import MidNav from '../../component/MidNav'

class App extends React.Component {
  constructor (props) {
    super(props)
    this.state = {

    }

    this.windowHeight = T.getScreenHeight() - 36
  }

  componentDidMount () {

  }

  toSignIn () { // 去登录
    window.location.href = '/tologinurl'
  }

  render () {
    return (
      <div>
        <div className='verification' style={{ minHeight: this.windowHeight }}>
          <MidNav title='Security' />
          <div className='wrap'>
            <div className='innerBox'>
              <div className='step-one pt40 changePassword pl50'>
                <div className='tac'>
                  <div className='success mt60' ><i className='iconfont icon-CombinedShape' style={{ color: '#87D068' }} /> </div>
                  <p className='f14 fc3 mt10 mb50'>Change Password Sucessfully!</p>
                  <Button type='primary' className='bigBtn' style={{ width: '400px' }} onClick={this.toSignIn}>Go to Sign in</Button>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    )
  }
}

export default App
